package com.ampaiva.organizescreen.model;

import java.util.List;

import com.ampaiva.pattern.fsm.State;

public class Puzzle {
	private long startTime;
	private int moveCount;
	private int columns;

	public enum PuzzleStates {
		PS_IDLE, PS_RUNNING, PS_PAUSED, PS_FINISHED;
	}

	public State<PuzzleStates> state = new State<PuzzleStates>(PuzzleStates.PS_IDLE);

	private List<Node> nodes;
	private List<Connection> connections;

	public List<Node> getNodes() {
		return nodes;
	}

	public void setNodes(List<Node> nodes) {
		this.nodes = nodes;
	}

	public List<Connection> getConnections() {
		return connections;
	}

	public void setConnections(List<Connection> connections) {
		this.connections = connections;
	}

	public long getStartTime() {
		return startTime;
	}

	public void setStartTime(long startTime) {
		this.startTime = startTime;
	}

	public int getMoveCount() {
		return moveCount;
	}

	public void setMoveCount(int moveCount) {
		this.moveCount = moveCount;
	}

	public int getColumns() {
	    return columns;
    }

	public void setColumns(int columns) {
	    this.columns = columns;
    }

}
